package com.zyit.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 医生排期表(Schedule)实体类
 *
 * @author makejava
 * @since 2023-11-14 10:55:36
 */
@Data
public class Schedule {
    private static final long serialVersionUID = -49976262871756112L;

    private Long id;
    /**
     * 用户表主键ID
     */
    private SysUsers users;
    /**
     * 就诊科室表主键ID
     */
    private Long departmentId;
    /**
     * 就诊房间表主键ID
     */
    private Room room;
    /**
     * 值班时间段 1-->上午，2-->下午
     */
    private Integer sign;
    /**
     * 诊断病人数量
     */
    private Integer quantity;
    /**
     * 剩余诊断病人数量
     */
    private Integer remainingQuantity;
    /**
     * 问诊时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date inquiryTime;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createdTime;
    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updatedTime;

    private List<SysUsers> sysUsersList;

}